import axios from 'axios';

export const getUserList = async (id: string) => {
  return await axios.get(`https://jsonplaceholder.typicode.com/todos/${id}`, {
    headers: {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
  });
};
